<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<style>
.pricetdClass{
	text-align: center;
	background-color: #ACCFF8;
	border-bottom: solid #EDEDED 1px;
	border-right: solid #EDEDED 1px;
}
.priceTd{
	text-align: center;
	height:30px;
	line-height:30px;
	width:80px;
	border-bottom: solid #999999 1px;
	border-right: solid #999999 1px;
}
.priceTd2{
	text-align: center;
	height:30px;
	line-height:30px;
	width:150px;
	border-bottom: solid #999999 1px;
	border-right: solid #999999 1px;
}
</style>
<script type="text/javascript" src="<%=basePath%>backgroundManager/js/importLtlPrice.js" charset="utf-8"></script>
<div class="pageContent">
	<form method="post" action="<%=basePath%>ltlPrice_addLtlPrice.action"
		class="pageForm required-validate"
		onsubmit="return validateCallback(this, navTabAjaxDone)">
		<!-- 第一步 -->
		<div id="pageFormContent1_ltl">
		<div  class="pageFormContent" layoutH="58">
			<p>
				<label>
					渠道名称：
				</label>
				<input id="channelNum_ltl_i" name="ltlPrice.PChannelNumber" type="hidden" />
				<input id="channelName_ltl_i"type="text" size="20" readonly />
				<input id="seachChannelBtn_ltl_i" type="button" value="..." />
			</p>
			<p>
				<label>生效日期：</label>
				<input type="text" id="priceStartDate_ltl" name="ltlPrice.PLtlStartDate" class="date" format="yyyy年MM月dd日" yearstart="-5" yearend="5" readonly />
			</p>
			<p>
				<label>结束日期：</label>
				<input type="text" id="priceEndDate_ltl" name="ltlPrice.PLtlEndDate" class="date" format="yyyy年MM月dd日" yearstart="-5" yearend="5" readonly />
			</p>
			<p>
				<label>
					请选择：
				</label>
				<input type="radio" name="forType" value="true"
					checked="checked" />
				客户类别
				<input type="radio" name="forType" value="false" />
				客户独立报价
			</p>
			<p>
				<label>
					说明：
				</label>
				<textarea cols="30" rows="5" name="ltlPrice.PLtlNote"></textarea>
				<input type="hidden" name="ltlPrice.PLtlCode" />
			</p>
			<p id="cl1_ltl">
				<label>
					报价类别(客户类别)：
				</label><!--ltlPrice.PLtlCode -->
				<select id="client_type_ltl">
					<option value="" selected>
						请选择
					</option>
					<c:forEach items="${sessionScope.clientClasses}" var="clientClass">
						<option value="${clientClass.classNumber}">${clientClass.className}</option>
					</c:forEach>
				</select>
			</p>
			<p id="cl2_ltl">
				<label>
					客户：
				</label>
				<input id="client_ltl_text" type="text" size="20" readonly value="" />
				<input id="clientBtn_ltl_i" type="button" value="..." />
			</p>
		</div>
		<div class="formBar">
			<ul>
				<li>
					<div class="buttonActive">
						<div class="buttonContent">
							<button id="theNextBtn_ltl_i" type="button">
								下一步
							</button>
						</div>
					</div>
				</li>
				<li>
					<div class="button">
						<div class="buttonContent">
							<button type="button" class="close">
								取消
							</button>
						</div>
					</div>
				</li>
			</ul>
		</div>
		</div>
		<!-- 第1步结束 -->
		<!-- 第2步 -->
		<div id="pageFormContent2_ltl">
		<div class="pageHeader">
			<div class="searchBar">
				<div class="pageFormContent1">
					<p>
					<label >渠道名称：</label>
					<input id="channelName_ltl_sub" type="text" readonly />
					</p>
					<p>
					<label id="client_ltl">客户/客户类别：</label>
					<input id="client_id_tlt" type="text" readonly />
					</p>
				</div>
				<div class="subBar">
					<ul>
						<li><div class="buttonActive"><div class="buttonContent"><button id="theBackBtn_ltl" type="button">上一步</button></div></div></li>
						<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
					</ul>
				</div>
			</div>
			</div>
			<div class="pageContent">
				<table layoutH="90">
					<tbody>
						<tr>
							<td width="70">起始省份</td> 
							<td width="70">起始城市</td>     
							<td width="70">起始县/区</td>
							<td width="70">目的省份</td> 
							<td width="70">目的城市</td>     
							<td width="70">目的县/区</td>
							<td width="70">走货类型</td>
							<td width="70">时效</td>
							<td width="70">价格(元/KG)</td>
							<td width="70">价格(元/M3)</td>
							<td width="70">可否到付</td>
							<td width="70">可否返单</td>
							<td width="80">可否代收货款</td>
							<td width="70">公里</td>
						</tr>
						<tr>
							<td colspan="14" valign="top" bordercolor="yellow">
							      <textarea name="pricesContext" rows="24" id="priceContext1" style="width: 100%" ></textarea>
						     </td>
						</tr>
					</tbody>
				</table>
			</div>
		</div>
		<!-- 第2步结束 -->
	</form>

</div>

